import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import home from '@/components/home'
import about from '@/components/about'
import archive from '@/components/archive'
import item from '@/components/item'
import tag from '@/components/tag'
import login from '@/components/login'
import registry from '@/components/registry'
import Message from '@/components/Message'
import myPage from '@/components/myPage'
import blog from '@/components/blog'
import bloginfo from '@/components/bloginfo'
import tagcloud from '@/components/index/tagcloud'

import clickcount from '@/components/index/clickcount'
import collect from '@/components/index/collect'
import newblog from '@/components/index/newblog'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: home
    },{
      path: '/about',
      name: 'about',
      component: about
    },{
      path: '/archive',
      name: 'archive',
      component: archive
    },{
      path: '/item',
      name: 'item',
      component: item
    },{
      path: '/tag/:uid',
      name: 'tag',
      component: tag
    },{
      path: '/login',
      name: 'login',
      component: login
    },{
      path: '/registry',
      name: 'registry',
      component: registry
    },{
      path: '/Message',
      name: 'Message',
      component: Message
    },{
      path: '/myPage',
      name: 'myPage',
      component: myPage
    },{
      path: '/blog',
      name: 'blog',
      component: blog
    },{
      path: '/bloginfo/:uid',
      name: 'bloginfo',
      component: bloginfo
    },{
      path: '/tagcloud',
      name: 'tagcloud',
      component: tagcloud
    },{
      path: '/clickcount',
      name: 'clickcount',
      component: clickcount
    },{
      path: '/collect',
      name: 'collect',
      component: collect
    },{
      path: '/newblog',
      name: 'newblog',
      component: newblog
    }
  ]
})
